package com.alinks.modbus.device.fatory;

import com.alinks.modbus.device.storage.Memory;

public class MemoryFactory {

    public static Memory create() {
        Memory memory = new Memory();
        memory.setCOIL_00001_09999(new byte[1250]);
        memory.setCOIL_10001_19999(new byte[1250]);
        memory.setREG_30001_39999(new byte[19998]);
        memory.setREG_40001_49999(new byte[19998]);
        return memory;
    }
}
